package cn.com.hhrcw.params;

import cn.com.hhrcw.base.BaseParams;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 留言表
 * @Author: jiangdong
 * @Date: 2020-11-23
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "leaving_news参数", description = "留言表")
public class LeavingNewsParams extends BaseParams implements Serializable {

    /**
     *
     */
    private String id;

    /**
     *
     */
    private Boolean delFlag;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    private String r1;

    /**
     *
     */
    private String r2;

    /**
     *
     */
    private String r3;

    /**
     *
     */
    private String r4;

    /**
     *
     */
    private String r5;

    /**
     *
     */
    private String r6;

    /**
     *
     */
    private String r7;

    /**
     * 父id
     */
    @ApiModelProperty(value = "父id")
    private String partentId;

    /**
     * 接收者id
     */
    @ApiModelProperty(value = "接收者id")
    private String receiveId;

    /**
     * 消息
     */
    @ApiModelProperty(value = "消息")
    @NotBlank(message = "消息必填")
    private String newsContent;

    /**
     * 发送者
     */
    @ApiModelProperty(value = "发送者")
    @NotBlank(message = "发送者必填")
    private String sendId;

    /**
     * 发送者电话
     */
    @ApiModelProperty(value = "发送者电话")
    @NotBlank(message = "发送者电话必填")
    private String sendPhone;

    /**
     * 发送者真实姓名
     */
    @ApiModelProperty(value = "发送者真实姓名")
    private String sendRealname;

    /**
     * 1未读2已读
     */
    @ApiModelProperty(value = "1未读2已读")
    private Integer readFlag;

    /**
     * 1个人2企业（指平台）
     */
    @ApiModelProperty(value = "1个人2企业")
    private String receiveType;

    /**
     * 1个人2企业（指平台）
     */
    @ApiModelProperty(value = "1个人2企业")
    private String sendType;

    /**
     *
     */
    private String createBy;

}
